package org.genntii.smdomain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@TableName("Channel")
@NoArgsConstructor
@AllArgsConstructor
public class Channel {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Integer appid;
    private String channelName;
    private String channelDescription;
    private String channelIcon;
    private byte status;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(exist = false)
    private Byte subscribed;
}
